package com.ibeeking.found.org.service.common.dos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName EmployeeDO
 * @Description
 * @Author ibeeking
 * @Date 2021-01-06 10:42
 **/
@ToString(callSuper=true)
@Data
@TableName("employee")
public class EmployeeDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @TableField(value = "department_id")
    private Long departmentId;

    /**
     * 员工代码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 员工名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 员工英文名称
     */
    @TableField(value = "name_en")
    private String nameEn;

    /**
     * 员工英文名称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 职务ID
     */
    @TableField(value = "position_id")
    private Long positionId;

    /**
     * 手机号码
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 性别。0=未定义，1=男性，2=女性
     */
    @TableField(value = "gender")
    private Integer gender;
    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    private LocalDate birthday;

    /**
     * 身份证号
     */
    @TableField(value = "id_card_no")
    private String idCardNo;

    /**
     * 个人邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 企业邮箱
     */
    @TableField(value = "biz_mail")
    private String bizMail;

    /**
     * 头像url
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 头像缩略图url
     */
    @TableField(value = "thumb_avatar")
    private String thumbAvatar;

    /**
     * 座机号码
     */
    @TableField(value = "telephone")
    private String telephone;
    /**
     * 省份/直辖市编码
     */
    @TableField(value = "province_code")
    private String provinceCode;

    /**
     * 城市编码
     */
    @TableField(value = "city_code")
    private String cityCode;

    /**
     * 县/区编码
     */
    @TableField(value = "region_code")
    private String regionCode;

    /**
     * 街道编码
     */
    @TableField(value = "street_code")
    private String streetCode;

    /**
     * 联系地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 个人微信号
     */
    @TableField(value = "wechat_code")
    private String wechatCode;

    /**
     * 个人钉钉号
     */
    @TableField(value = "dingtalk_code")
    private String dingtalkCode;

    /**
     * 员工个人二维码
     */
    @TableField(value = "qr_code")
    private String qrCode;
    /**
     * 扩展属性
     */
    @TableField(value = "extend_field")
    private String extendField;

    /**
     * 状态: 1=已激活，2=已禁用，4=未激活，5=退出企业
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

}
